/**
 * 响应式表单demo
 * @author weiyouqiang
 */
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ReactiveFormsModule, FormControl, FormGroup } from '@angular/forms';

import { FormsComponent } from './component.forms';
import { FormLayoutComponent } from './component.form.layout';
import { InputboxComponent } from '../../shared/components/forms/components/form-elements/inputbox/component.inputbox';
import { FormBlockComponent } from '../../shared/components/forms/components/layout/components/form-block/component.form-block';
import { FormCondensedComponent } from '../../shared/components/forms/components/layout/components/form-condensed/component.form-condensed';
import { SelectboxComponent } from '../../shared/components/forms/components/form-elements/selectbox/component.selectbox';
import { TextareaboxComponent } from '../../shared/components/forms/components/form-elements/textareabox/component.textareabox';
import { ButtonComponent } from '../../shared/components/forms/components/form-elements/button/component.button';
import { CheckboxComponent } from '../../shared/components/forms/components/form-elements/checkbox/component.checkbox';
import { RadioboxComponent } from '../../shared/components/forms/components/form-elements/radiobox/component.radiobox';
import { BtnVgroupComponent } from '../../shared/components/forms/components/layout/components/button-group-vertical/component.button-group-vertical';
import { FormsRouter } from './router.forms';

@NgModule({
    imports: [
        CommonModule,
        ReactiveFormsModule,
        FormsRouter
    ],
    declarations: [
        FormsComponent,
        FormBlockComponent,
        FormCondensedComponent,
        FormLayoutComponent,
        InputboxComponent,
        SelectboxComponent,
        TextareaboxComponent,
        ButtonComponent,
        CheckboxComponent,
        RadioboxComponent,
        BtnVgroupComponent
    ],
    providers: [

    ],
    exports: [
        FormsComponent
    ]
})
export class FormsModule { }